package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.LogisticsFeeRules;
import com.example.mall.dto.LogisticsFeeRulesDto;
import com.example.mall.query.LogisticsFeeRulesQuery;
import com.example.mall.query.PageDTO;

import java.util.List;


/**
 * <p>
 * 物流费用规则表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-16
 */
public interface ILogisticsFeeRulesService extends IService<LogisticsFeeRules> {

    //分页查询物流费用规则表信息
    PageDTO<LogisticsFeeRulesDto> queryPage(LogisticsFeeRulesQuery logisticsFeeRulesQuery);

    //根据id查询物流费用规则表信息
    LogisticsFeeRules queryLogisticsFeeRulesById(Long ruleId);

    //查询全部物流费用规则表信息
    List<LogisticsFeeRules> queryLogisticsFeeRulesList();

    //新增物流费用规则表
    void insert(LogisticsFeeRulesDto logisticsFeeRulesDto);

    //修改物流费用规则表信息
    void update(LogisticsFeeRulesDto logisticsFeeRulesDto);

    //删除物流费用规则表信息
    void delete(Long ruleId);

    //批量删除物流费用规则表信息
    void deleteBatch(List<Long> ruleIds);
}
